package com.xu.modules.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文章标签
 * </p>
 *
 * @author xu
 * @since 2022-07-21
 */
@Getter
@Setter
@TableName("tag")
public class TagEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 文章标签ID
     */
    @TableId("tag_id")
    private Long tagId;

    /**
     * 标签名称
     */
    @TableField("tag_name")
    private String tagName;

    /**
     * 文章ID
     */
    @TableField("article_id")
    private Long articleId;

}
